package com.zhongxi.guoyuan.view.seller.offline.mode;

import com.zhongxi.guoyuan.entity.BaseResult;

import java.io.Serializable;

/**
 * Created by Administrator on 2018/1/23.
 */

public class OrderInfoOffline implements Serializable {

    /**
     * code : 1
     * console : {"ctime":"2018-01-18 14:21:58","id":"1","mphone":"15678907823","name":"老司机","sid":"off19475a603d062d72d"}
     * orderNum : 32
     * safeobj : {"key":"59ea887ed07c266e2adaf624e2915e5e","now":"1516678064.812892","safestring":"b628c1a4291cdd1706325dc503618673"}
     * totalAmount : 2265
     */

    public int code;
    public BaseResult safeobj;
    public ConsoleBean console;
    public int orderNum;
    public String totalAmount;

    @Override
    public String toString() {
        return "OrderInfoOffline{" +
                "code=" + code +
                ", console=" + console +
                ", orderNum=" + orderNum +
                ", safeobj=" + safeobj +
                ", totalAmount='" + totalAmount + '\'' +
                '}';
    }

    public static class ConsoleBean implements Serializable{
        /**
         * ctime : 2018-01-18 14:21:58
         * id : 1
         * mphone : 15678907823
         * name : 老司机
         * sid : off19475a603d062d72d
         */

        public String ctime;
        public String id;
        public String mphone;
        public String name;
        public String sid;
        public String discount;
        public String backinnerrate;
        public String longitude;
        public String latitude;

        @Override
        public String toString() {
            return "ConsoleBean{" +
                    "ctime='" + ctime + '\'' +
                    ", id='" + id + '\'' +
                    ", mphone='" + mphone + '\'' +
                    ", name='" + name + '\'' +
                    ", sid='" + sid + '\'' +
                    ", discount='" + discount + '\'' +
                    ", backinnerrate='" + backinnerrate + '\'' +
                    ", longitude='" + longitude + '\'' +
                    ", latitude='" + latitude + '\'' +
                    '}';
        }
    }
}
